<?php
/**
 * TOP API: alibaba.alisports.passport.open.setuser request
 * 
 * @author auto create
 * @since 1.0, 2016.07.04
 */
class AlibabaAlisportsPassportOpenSetuserRequest
{
	/** 
	 * 地址
	 **/
	private $address;
	
	/** 
	 * 阿里体育用户ID
	 **/
	private $alisportsid;
	
	/** 
	 * 阿里体育用户ID(加密)
	 **/
	private $aliuid;
	
	/** 
	 * appkey
	 **/
	private $appkey;
	
	/** 
	 * 出生日期
	 **/
	private $birthday;
	
	/** 
	 * 证件号码
	 **/
	private $cardNum;
	
	/** 
	 * 证件类型  1身份证，2护照，3军官士兵证，4港澳通行证，5台胞证
	 **/
	private $cardType;
	
	/** 
	 * 身高(cm)
	 **/
	private $height;
	
	/** 
	 * 手机号
	 **/
	private $mobile;
	
	/** 
	 * 昵称
	 **/
	private $nick;
	
	/** 
	 * 真实姓名
	 **/
	private $realName;
	
	/** 
	 * 性别 女：0；男：1 未知: 2
	 **/
	private $sex;
	
	/** 
	 * 体重(kg)
	 **/
	private $weight;
	
	private $apiParas = array();
	
	public function setAddress($address)
	{
		$this->address = $address;
		$this->apiParas["address"] = $address;
	}

	public function getAddress()
	{
		return $this->address;
	}

	public function setAlisportsid($alisportsid)
	{
		$this->alisportsid = $alisportsid;
		$this->apiParas["alisportsid"] = $alisportsid;
	}

	public function getAlisportsid()
	{
		return $this->alisportsid;
	}

	public function setAliuid($aliuid)
	{
		$this->aliuid = $aliuid;
		$this->apiParas["aliuid"] = $aliuid;
	}

	public function getAliuid()
	{
		return $this->aliuid;
	}

	public function setAppkey($appkey)
	{
		$this->appkey = $appkey;
		$this->apiParas["appkey"] = $appkey;
	}

	public function getAppkey()
	{
		return $this->appkey;
	}

	public function setBirthday($birthday)
	{
		$this->birthday = $birthday;
		$this->apiParas["birthday"] = $birthday;
	}

	public function getBirthday()
	{
		return $this->birthday;
	}

	public function setCardNum($cardNum)
	{
		$this->cardNum = $cardNum;
		$this->apiParas["card_num"] = $cardNum;
	}

	public function getCardNum()
	{
		return $this->cardNum;
	}

	public function setCardType($cardType)
	{
		$this->cardType = $cardType;
		$this->apiParas["card_type"] = $cardType;
	}

	public function getCardType()
	{
		return $this->cardType;
	}

	public function setHeight($height)
	{
		$this->height = $height;
		$this->apiParas["height"] = $height;
	}

	public function getHeight()
	{
		return $this->height;
	}

	public function setMobile($mobile)
	{
		$this->mobile = $mobile;
		$this->apiParas["mobile"] = $mobile;
	}

	public function getMobile()
	{
		return $this->mobile;
	}

	public function setNick($nick)
	{
		$this->nick = $nick;
		$this->apiParas["nick"] = $nick;
	}

	public function getNick()
	{
		return $this->nick;
	}

	public function setRealName($realName)
	{
		$this->realName = $realName;
		$this->apiParas["real_name"] = $realName;
	}

	public function getRealName()
	{
		return $this->realName;
	}

	public function setSex($sex)
	{
		$this->sex = $sex;
		$this->apiParas["sex"] = $sex;
	}

	public function getSex()
	{
		return $this->sex;
	}

	public function setWeight($weight)
	{
		$this->weight = $weight;
		$this->apiParas["weight"] = $weight;
	}

	public function getWeight()
	{
		return $this->weight;
	}

	public function getApiMethodName()
	{
		return "alibaba.alisports.passport.open.setuser";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->appkey,"appkey");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
